package com.ruoyi.management.statistical.carservicemsg.mapper;


import com.ruoyi.management.statistical.carservicemsg.vo.CarEveListVo;
import com.ruoyi.management.statistical.carservicemsg.vo.CarServiceListVo;
import com.ruoyi.management.statistical.carservicemsg.vo.GetCarServiceMsgVo;
import com.ruoyi.management.statistical.carservicemsg.vo.GetPassengersNumberVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;

/**
 * 车辆行驶信息Mapper接口
 * 
 * @author ruoyi
 * @date 2021-12-01
 */
public interface TCarServiceMsgMapper {
    /**
     * 统计公里利用率：载客里程/行驶总里程数（前日）
     * @return
     */
    GetCarServiceMsgVo getKilometerUtilization(@Param("companyId") Long companyId);

    /**
     * 统计每车日均载客次数（总载客次数/营运车辆数）昨日
     * @return
     */
    GetPassengersNumberVo getPassengersNumber(@Param("companyId") Long companyId);

    /**
     * 每车日均营收
     * @return
     */
    GetPassengersNumberVo getCarAmount(@Param("companyId") Long companyId);

    GetPassengersNumberVo getCarMileags(@Param("companyId") Long companyId);

    List<CarServiceListVo> selectCarServiceMsgList(@Param("companyId") Long companyId);

    List<CarEveListVo> getCarEveList(@Param("companyId") Long companyId);

    GetPassengersNumberVo getCarYyMileags(@Param("companyId") Long companyId);
}
